package hibernate;



/**
 * AbstractCourse entity provides the base persistence definition of the Course entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractCourse  implements java.io.Serializable {


    // Fields    

     private String courseId;
     private Instructor instructor;
     private Integer courseCredit;
     private String courseName;


    // Constructors

    /** default constructor */
    public AbstractCourse() {
    }

	/** minimal constructor */
    public AbstractCourse(Integer courseCredit) {
        this.courseCredit = courseCredit;
    }
    
    /** full constructor */
    public AbstractCourse(Instructor instructor, Integer courseCredit, String courseName) {
        this.instructor = instructor;
        this.courseCredit = courseCredit;
        this.courseName = courseName;
    }

   
    // Property accessors

    public String getCourseId() {
        return this.courseId;
    }
    
    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public Instructor getInstructor() {
        return this.instructor;
    }
    
    public void setInstructor(Instructor instructor) {
        this.instructor = instructor;
    }

    public Integer getCourseCredit() {
        return this.courseCredit;
    }
    
    public void setCourseCredit(Integer courseCredit) {
        this.courseCredit = courseCredit;
    }

    public String getCourseName() {
        return this.courseName;
    }
    
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
   








}